﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

namespace OfficeToolbox.SharePoint.Lists.FormSettings {
    public class FeatureHandler : SPFeatureReceiver {
        public override void FeatureActivated(SPFeatureReceiverProperties properties) {
            SPFarm.Local.Services.GetValue<SPWebService>().ApplyApplicationContentToLocalServer();
        }

        public override void FeatureDeactivating(SPFeatureReceiverProperties properties) { }

        public override void FeatureInstalled(SPFeatureReceiverProperties properties) { }

        public override void FeatureUninstalling(SPFeatureReceiverProperties properties) { }
    }
}